<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>province测试</title>
    <script src="js/jquery.js"></script>
    <script>
        $(function () {
            $.post("province",{},function (data) {
                var selection=$("#selection");
                $(data).each(function () {
                    var option="<option value='"+this.id+"'>"+this.name+"</option>";
                    selection.append(option);
                });
            });
        });
    </script>
</head>
<body>
    <input>
    <section id="selection" name="selection">
        <option value="0">--请选择省份--</option>
    </section>
</body>
</html>